package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.dto.NursingProjectDto;
import com.zzyl.entity.NursingProject;
import com.zzyl.vo.NursingProjectVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @Author: Learner
 * @Version: 1.0
 */
@Mapper

public interface NursingProjectMapper {

    Page<NursingProjectVo> findByPage(String name, Integer status);


    Integer insert(NursingProject nursingProject);

    NursingProject findById(long id);

    void updateNursing(NursingProject nursingProject);

    void updateStatus(Long id, Integer status);

    void delNursing(long id);

    List<NursingProjectVo> allNursing();

   /* //老师的方法
    List<Map> queryCountByProjectIds(List<Long> ids);*/
}


